package com.egao.common.module.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.company.entity.FieldRecord;
import com.egao.common.module.company.entity.vo.FieldRecordFormVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 场地预约记录接口mapper
 * @author dl
 */
@Repository
public interface FieldRecordMapper extends BaseMapper<FieldRecord> {
    /**
     * 查询预约记录
     * @param page 场地预约记录表单
     * @return List<FieldRecordFormVO> 记录集合
     */
    List<FieldRecordFormVO> listRecord(@Param("page") PageParam<FieldRecordFormVO> page);

    List<FieldRecordFormVO> queryDayListRecord(@Param("page") PageParam<FieldRecordFormVO> page);

}
